package com.njym.java.security.app.biz;

import com.github.pagehelper.PageHelper;
import com.njym.java.security.app.entity.PostComment;
import com.njym.java.security.app.entity.PostCommentVo;
import com.njym.java.security.app.mapper.PostCommentMapper;
import com.njym.java.security.common.biz.BaseBiz;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 评论表
 *
 * @author lijie
 * @email 717057076@qq.com
 * @date 2019-11-07 14:35:47
 */
@Service
public class PostCommentBiz extends BaseBiz<PostCommentMapper, PostComment> {

    public List<PostCommentVo> comment(Integer userId){
        return mapper.comment(userId);
    }

    public List<PostCommentVo> reply(Integer userId){
        return mapper.reply(userId);
    }
}